package com.yunpeng.aidevice.common.vo.device;

import com.alibaba.fastjson.JSONArray;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * DeviceDetailVO
 *
 * @author : Moore(hemw)
 * @date : 2020-04-28
 */
public class DeviceDetailVO implements Serializable {

    /**
     * 设备代码
     */
    private String deviceCode;
    /**
     * 设备编号
     */
    private String deviceNumber;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 安装时间
     */
    private LocalDateTime installDate;
    /**
     * 安装地点
     */
    private String installLocation;
    /**
     * 组织部门代码
     */
    private List<String> orgCodes;

    /**
     * 设备标识
     */
    private String deviceId;
    /**
     * 状态码
     */
    private String state;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public LocalDateTime getInstallDate() {
        return installDate;
    }

    public void setInstallDate(LocalDateTime installDate) {
        this.installDate = installDate;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }


    public List<String> getOrgCodes() {
        return orgCodes;
    }

    public void setOrgCodes(List<String> orgCodes) {
        this.orgCodes = orgCodes;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "DeviceDetailVO{" +
                "deviceCode='" + deviceCode + '\'' +
                ", deviceNumber='" + deviceNumber + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", installDate=" + installDate +
                ", installLocation='" + installLocation + '\'' +
                ", orgCodes=" + orgCodes +
                ", deviceId='" + deviceId + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
